$OpenBSD: patch-base_src_common_PubKey_c,v 1.1 2010/10/03 21:36:58 kili Exp $
--- base/src/common/PubKey.c.orig	Thu Jun 19 03:55:04 2003
+++ base/src/common/PubKey.c	Sun Oct  3 21:41:11 2010
@@ -289,7 +289,7 @@ pubkey_GetEmail(PubKey *pk)
   case pk_X509:
     {
       X509 *x = pk->keys.x509_cert;
-      STACK* emails;
+      STACK_OF(OPENSSL_STRING) *emails;
       const char* email = 0;
 
       emails = X509_get1_email(x);
